package com.xy.biz.rs.domain.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @Date 2021/4/9
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class UpdateRecordTemplateSequenceRequest {

    @NotNull
    @ApiModelProperty(value = "目标位置上一位数据序号")
    private Integer previousSequence;

    @NotNull
    @ApiModelProperty(value = "被移动数据序号")
    private Integer checkedSequence;

    @NotNull
    @ApiModelProperty(value = "父级Id")
    private Long parentId;

    @NotNull
    @ApiModelProperty(value = "排序数据类型: 1-模板组，2-模板项")
    private Integer recordTemplateSequenceType;
}
